/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.modules.app.device.service.dto;

import lombok.Data;
import java.sql.Timestamp;
import java.time.LocalDateTime;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
* @website https://el-admin.vip
* @description /
* @author Haojie Li
* @date 2021-03-01
**/
@Data
public class SettingBindInfoDto implements Serializable {

    /** 数据唯一标识 */
    private String id;

    /** 服务器地址 */
    private String serverAddress;

    /** 酒店编号 */
    private String hotelNo;

    /** 酒店房间编号 */
    private String hotelRoomNumber;

    /** 资源版本号 */
    private String resourceVersion;

    /** 本地IP地址 */
    private String localIp;

    /** 设备类型 */
    private String deviceType;

    /** 存储位置 */
    private String storagePlace;

    /** 绑定的MAC地址 */
    private String bindMac;

    /** 激活状态【1、表示激活 0、表示未激活 -1、表示注销（删除）】 */
    private Integer isActive;

    /** 创建者 */
    private String createBy;

    /** 更新者 */
    private String updateBy;

    /** 创建时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /** 更新时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    private String hotelName;
}
